import { Vue, Component, Prop } from 'vue-property-decorator';

@Component({
  components: {},
})
export default class MessageTsx extends Vue {
  @Prop(String) private name!: string;
  // @Prop({ type:  Object as ()=>IName,default:{age:1}}) ss!:IName
  //  @Prop({ type: Array as Prop<string[]>}) s1
  private render() {
    return (
      <div>
        {/* <HelloWorldTsx {...{ props: { name: '解构' } }}></HelloWorldTsx> */}
        {this.name}
      </div>
    );
  }
}
